/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hvtt.web.models;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Administrator
 */
public class C_thietbi_nhom implements Serializable {
        private long iD = 0;
	private String thietBi = "";
	private int nhomID = 0;
	private int trangThai = 0;
        private String nhomThietBi="";
        private String checkBox="";
        private long loai=0;
        private List<C_thietbi_nhom>items=new ArrayList();
        
	public C_thietbi_nhom() {}
	public C_thietbi_nhom (long iD,String thietBi,int nhomID,int trangThai){
		this.iD = iD;
		this.thietBi = thietBi;
		this.nhomID = nhomID;
		this.trangThai = trangThai;
                this.loai=0;
                this.nhomThietBi="";
                this.checkBox="";
                items=new ArrayList();
	}
        public List<C_thietbi_nhom> getItems(){return items;}
        
	public long getID(){return iD;}
	public void setID(long iD){ this.iD = iD;}
        public long getLoai(){return loai;}
	public void setLoai(long loai){ this.loai = loai;}
        public String getNhomThietBi(){return nhomThietBi;}
        public String getCheckBox(){return checkBox;}
	
        public void setNhomThietBi(String nhomThietBi){ this.nhomThietBi = nhomThietBi;}
        public void setCheckBox(String checkBox){ this.checkBox = checkBox;}
        
	public String getThietBi(){return thietBi;}
	public void setThietBi(String thietBi){ this.thietBi = thietBi;}
	public int getNhomID(){return nhomID;}
	public void setNhomID(int nhomID){ this.nhomID = nhomID;}
	public int getTrangThai(){return trangThai;}
	public void setTrangThai(int trangThai){ this.trangThai = trangThai;}
	public void resetAttribute() {
		iD = 0;
		thietBi = "";
		nhomID = 0;
		trangThai = 0;
                this.nhomThietBi="";
                this.loai=0;
	}
}
